//This trigger is to call the Webservice for insert and update into Contact
trigger HF_ContactSync on Contact (after Insert, after Update) {
Set<Id> ConId = new Set<ID>();

    for(Contact c:Trigger.new){
        ConId.add(c.Id);
       
    }
    
    
    system.debug('**********'+ConId);
    If(ConId != null && ConId.size()>0)
    if(trigger.isInsert && trigger.isAfter){
        HF_ClientWSContact.AddContact(ConId);
      }
        if(trigger.isUpdate && trigger.isAfter){
        HF_ClientWSContact.UpdateContact(ConId);
       }
              
        
}